Using External ID-based Tags in the OPC Item for the CygNet OPC HDA Server

TheCygNet OPC HDA Server supports the resolution of OPC items by an External ID. The External ID is an optional property of a point configuration record (part of the CygNet Point Reference property). The CygNet OPC HDA Server can parse and resolve ExternalID-based CygNet tags passed in as OPC items.

Note: The CygNet OPC HDA Server does not support the use of point properties in the OPC HDA tag format because the server retrieves a list of historical values, not single attributes for a point as the CygNet OPC Server does.

OPC Item Tag Format

The External ID OPC item tag format is the following:

SITE.SERVICE:::MixedCaseExternalId

where

MixedCaseExternalId Characters

All printable ASCII characters are allowed in the "MixedCaseExternalId" portion of the OPC item, except for the semi-colon character (';'). The following characters are allowed:

Add to PNT Index and Reindex

If you plan to use an External ID as an OPC tag, we recommend that you add the following custom index to the PntAppl.ddl file to optimize performance when resolving OPC items by an External ID. Follow this by reindexing the PNT database using ReIndexESE (run as admin).

DEFINE INDEX ID=EX_INDEX,

NAME=PNT_EX_INDEX,

VERSION=1,

RECORD_ID_BYTE=27,

PREFIX=EX,

DESCR="External ID",

ITEM=(EXTID.ExtId, LENGTH=79);

See Adding a New Index to a DBS-Based Service for more information about adding an index and reindexing a service database.

Back to top